using ZR.Model.FacManage.Dto;
using ZR.Model.FacManage;

namespace ZR.Service.FacManage.IFacManageService
{
    /// <summary>
    /// 车间管理service接口
    /// </summary>
    public interface IFacWorkshopService : IBaseService<FacWorkshop>
    {
        PagedInfo<FacWorkshopDto> GetPageList(FacWorkshopQueryDto parm);

        List<TreeSelectInfo> GetTreeList(bool disabledFactory);

        FacWorkshop GetInfo(string WorkshopId);

        FacWorkshop AddFacWorkshop(FacWorkshop parm);

        int DeleteFacWorkshop(string[] ids);

        int UpdateFacWorkshop(FacWorkshop parm);

    }
}
